This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
NetworkAvailable(address as string) as boolean | ||||
global method, Network | Fr, 31. Mai 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> false. | ||
Function:
Can an address be accessed without dialing? | ||||
Example:
if NetworkAvailable("www.apple.com") then // We can access www.apple.com without dialing else // we may need to dial or there is no Internet at all. end if | ||||
Notes:
On Mac OS Classic, the address is not used. OpenTransport is just asked which connection type is used. On Mac OS X the System checks the address if it's valid, so 192.168..1 will be treated as not available. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.